<template>
  <view>
    <span><web-view :src="urls">正在跳转，请稍后……</web-view></span>
  </view>
</template>

<script>
import { webBaseUrl } from '@/common/baseUrl.js';
export default {
  data() {
    return {
      urls: ''
    };
  },

  onLoad(option) {
    const self = this;
    console.log(decodeURIComponent(option.urls));
    uni.showToast({
      title: '加载中',
      icon: 'loading',
      duration: 1500,
      mask: true
    });
    let url = (option && option.urls) || '';
    let id = (option && option.id) || '';
    self.urls = webBaseUrl + url + '?id=' + id;
  },

  methods: {}
};
</script>

<style lang="scss">
page {
  background: #ffffff;
}
</style>
